```html
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>MyBatis-Flex - 现代化Java ORM框架</title>
    <link href="https://cdn.staticfile.org/tailwindcss/2.2.19/tailwind.min.css" rel="stylesheet">
    <link href="https://cdn.staticfile.org/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/mermaid@latest/dist/mermaid.min.js"></script>
    <style>
        body {
            font-family: 'Noto Sans SC', Tahoma, Arial, Roboto, "Droid Sans", "Helvetica Neue", "Droid Sans Fallback", "Heiti SC", "Hiragino Sans GB", Simsun, sans-serif;
            scroll-behavior: smooth;
        }
        .hero-gradient {
            background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
        }
        .code-block {
            background-color: #2d3748;
            border-left: 4px solid #4299e1;
        }
        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }
        .highlight {
            position: relative;
        }
        .highlight::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 30%;
            background-color: rgba(56, 178, 172, 0.2);
            z-index: -1;
            transform: scaleX(1.05);
        }
    </style>
</head>
<body class="bg-gray-50 text-gray-800">
    <!-- Hero Section -->
    <section class="hero-gradient text-white py-24 px-4">
        <div class="max-w-6xl mx-auto">
            <div class="flex flex-col md:flex-row items-center">
                <div class="md:w-1/2 mb-10 md:mb-0">
                    <h1 class="text-4xl md:text-5xl font-bold mb-6 leading-tight">
                        MyBatis<span class="text-blue-200">-Flex</span>
                    </h1>
                    <h2 class="text-xl md:text-2xl font-medium mb-6 text-blue-100">
                        现代化Java ORM框架，为开发效率而生
                    </h2>
                    <p class="text-lg mb-8 text-blue-100 leading-relaxed">
                        基于MyBatis构建，提供更灵活、更高效的数据库操作体验。专为追求开发效率和代码优雅的Java后端工程师设计。
                    </p>
                    <a href="https://mybatis-flex.com" target="_blank" class="inline-block bg-white text-blue-600 hover:bg-blue-50 font-semibold px-6 py-3 rounded-lg shadow-md transition duration-300">
                        <i class="fas fa-external-link-alt mr-2"></i>访问官网
                    </a>
                </div>
                <div class="md:w-1/2 flex justify-center">
                    <div class="relative">
                        <div class="w-64 h-64 bg-blue-400 rounded-lg absolute -top-4 -left-4 opacity-20"></div>
                        <div class="w-64 h-64 bg-blue-500 rounded-lg absolute -bottom-4 -right-4 opacity-20"></div>
                        <div class="relative bg-white bg-opacity-10 backdrop-filter backdrop-blur-lg p-8 rounded-xl border border-white border-opacity-20 shadow-xl">
                            <div class="text-xs text-blue-100 mb-4">// 示例代码</div>
                            <pre class="text-sm font-mono text-blue-100 overflow-hidden"><code>QueryWrapper query = QueryWrapper.create()
    .select(USER.ID, USER.USERNAME)
    .where(USER.AGE.ge(18))
    .orderBy(USER.CREATE_TIME.desc());

List&lt;User&gt; users = userMapper.selectListByQuery(query);</code></pre>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Main Content -->
    <div class="max-w-6xl mx-auto px-4 py-16">
        <!-- Core Features -->
        <section class="mb-20">
            <div class="text-center mb-12">
                <h2 class="text-3xl font-bold mb-4 text-gray-800">
                    <span class="highlight">核心功能</span>
                </h2>
                <p class="text-lg text-gray-600 max-w-2xl mx-auto">
                    MyBatis-Flex提供了一系列强大功能，让数据库操作变得简单高效
                </p>
            </div>
            
            <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
                <div class="feature-card bg-white p-6 rounded-xl shadow-md transition duration-300 hover:border-blue-500 border border-gray-100">
                    <div class="text-blue-500 text-3xl mb-4">
                        <i class="fas fa-search"></i>
                    </div>
                    <h3 class="text-xl font-semibold mb-3">强大的查询构造器</h3>
                    <p class="text-gray-600">
                        支持链式调用，让复杂SQL构建变得简单直观，告别繁琐的XML配置
                    </p>
                </div>
                
                <div class="feature-card bg-white p-6 rounded-xl shadow-md transition duration-300 hover:border-blue-500 border border-gray-100">
                    <div class="text-blue-500 text-3xl mb-4">
                        <i class="fas fa-layer-group"></i>
                    </div>
                    <h3 class="text-xl font-semibold mb-3">智能分页</h3>
                    <p class="text-gray-600">
                        自动处理分页逻辑，无需手写COUNT查询，轻松实现高性能分页
                    </p>
                </div>
                
                <div class="feature-card bg-white p-6 rounded-xl shadow-md transition duration-300 hover:border-blue-500 border border-gray-100">
                    <div class="text-blue-500 text-3xl mb-4">
                        <i class="fas fa-database"></i>
                    </div>
                    <h3 class="text-xl font-semibold mb-3">多数据源支持</h3>
                    <p class="text-gray-600">
                        轻松配置和切换多个数据源，满足复杂业务场景下的数据库访问需求
                    </p>
                </div>
                
                <div class="feature-card bg-white p-6 rounded-xl shadow-md transition duration-300 hover:border-blue-500 border border-gray-100">
                    <div class="text-blue-500 text-3xl mb-4">
                        <i class="fas fa-code"></i>
                    </div>
                    <h3 class="text-xl font-semibold mb-3">代码生成</h3>
                    <p class="text-gray-600">
                        自动生成实体类、Mapper等代码，大幅提升开发效率，减少重复工作
                    </p>
                </div>
                
                <div class="feature-card bg-white p-6 rounded-xl shadow-md transition duration-300 hover:border-blue-500 border border-gray-100">
                    <div class="text-blue-500 text-3xl mb-4">
                        <i class="fas fa-project-diagram"></i>
                    </div>
                    <h3 class="text-xl font-semibold mb-3">多种查询方式</h3>
                    <p class="text-gray-600">
                        支持XML、注解、API等多种方式，满足不同开发习惯和场景需求
                    </p>
                </div>
                
                <div class="feature-card bg-white p-6 rounded-xl shadow-md transition duration-300 hover:border-blue-500 border border-gray-100">
                    <div class="text-blue-500 text-3xl mb-4">
                        <i class="fas fa-bolt"></i>
                    </div>
                    <h3 class="text-xl font-semibold mb-3">高性能</h3>
                    <p class="text-gray-600">
                        精心优化的执行引擎，比传统ORM框架更高效，满足高并发场景
                    </p>
                </div>
            </div>
        </section>

        <!-- Usage Scenarios -->
        <section class="mb-20">
            <div class="text-center mb-12">
                <h2 class="text-3xl font-bold mb-4 text-gray-800">
                    <span class="highlight">适用场景</span>
                </h2>
                <p class="text-lg text-gray-600 max-w-2xl mx-auto">
                    MyBatis-Flex适用于各种Java后端开发场景
                </p>
            </div>
            
            <div class="flex flex-col md:flex-row gap-8">
                <div class="bg-blue-50 p-8 rounded-xl flex-1">
                    <div class="flex items-center mb-4">
                        <div class="bg-blue-100 text-blue-600 p-3 rounded-full mr-4">
                            <i class="fas fa-building text-xl"></i>
                        </div>
                        <h3 class="text-xl font-semibold">企业级应用开发</h3>
                    </div>
                    <p class="text-gray-700">
                        需要处理复杂查询逻辑且对性能有要求的大型系统，MyBatis-Flex提供强大的查询能力和高效的数据访问层实现。
                    </p>
                </div>
                
                <div class="bg-green-50 p-8 rounded-xl flex-1">
                    <div class="flex items-center mb-4">
                        <div class="bg-green-100 text-green-600 p-3 rounded-full mr-4">
                            <i class="fas fa-rocket text-xl"></i>
                        </div>
                        <h3 class="text-xl font-semibold">快速原型开发</h3>
                    </div>
                    <p class="text-gray-700">
                        通过代码生成和简洁API快速实现数据访问层，加速项目初期开发进度，让开发者更专注于业务逻辑的实现。
                    </p>
                </div>
                
                <div class="bg-purple-50 p-8 rounded-xl flex-1">
                    <div class="flex items-center mb-4">
                        <div class="bg-purple-100 text-purple-600 p-3 rounded-full mr-4">
                            <i class="fas fa-network-wired text-xl"></i>
                        </div>
                        <h3 class="text-xl font-semibold">微服务架构</h3>
                    </div>
                    <p class="text-gray-700">
                        支持多数据源管理，适合分布式系统开发，轻松应对微服务架构下的复杂数据访问需求。
                    </p>
                </div>
            </div>
        </section>

        <!-- Advantages -->
        <section class="mb-20">
            <div class="text-center mb-12">
                <h2 class="text-3xl font-bold mb-4 text-gray-800">
                    <span class="highlight">优势特色</span>
                </h2>
                <p class="text-lg text-gray-600 max-w-2xl mx-auto">
                    为什么选择MyBatis-Flex作为您的ORM框架？
                </p>
            </div>
            
            <div class="grid grid-cols-1 md:grid-cols-2 gap-8">
                <div class="bg-white p-8 rounded-xl shadow-sm border border-gray-100">
                    <h3 class="text-xl font-semibold mb-4 text-blue-600">
                        <i class="fas fa-exchange-alt mr-2"></i>低侵入性
                    </h3>
                    <p class="text-gray-700 mb-4">
                        与原生MyBatis完美兼容，支持渐进式迁移，现有项目可以逐步引入MyBatis-Flex的特性，无需一次性重构。
                    </p>
                </div>
                
                <div class="bg-white p-8 rounded-xl shadow-sm border border-gray-100">
                    <h3 class="text-xl font-semibold mb-4 text-green-600">
                        <i class="fas fa-tachometer-alt mr-2"></i>高性能
                    </h3>
                    <p class="text-gray-700 mb-4">
                        精心优化的执行引擎，比传统ORM框架更高效，内部测试显示性能比MyBatis-Plus提升20%以上。
                    </p>
                </div>
                
                <div class="bg-white p-8 rounded-xl shadow-sm border border-gray-100">
                    <h3 class="text-xl font-semibold mb-4 text-purple-600">
                        <i class="fas fa-graduation-cap mr-2"></i>学习成本低
                    </h3>
                    <p class="text-gray-700 mb-4">
                        API设计直观简洁，特别对于MyBatis用户几乎没有学习成本，文档完善，示例丰富，快速上手无压力。
                    </p>
                </div>
                
                <div class="bg-white p-8 rounded-xl shadow-sm border border-gray-100">
                    <h3 class="text-xl font-semibold mb-4 text-yellow-600">
                        <i class="fas fa-users mr-2"></i>活跃社区
                    </h3>
                    <p class="text-gray-700 mb-4">
                        开源社区持续更新，问题响应及时，GitHub上issue处理速度快，开发者可以获得良好的技术支持。
                    </p>
                </div>
            </div>
        </section>

        <!-- Getting Started -->
        <section class="mb-20">
            <div class="text-center mb-12">
                <h2 class="text-3xl font-bold mb-4 text-gray-800">
                    <span class="highlight">快速开始</span>
                </h2>
                <p class="text-lg text-gray-600 max-w-2xl mx-auto">
                    只需几分钟，即可将MyBatis-Flex集成到您的Spring Boot项目中
                </p>
            </div>
            
            <div class="bg-white rounded-xl overflow-hidden shadow-md mb-8">
                <div class="bg-gray-800 text-white px-4 py-3 flex items-center">
                    <div class="flex space-x-2 mr-4">
                        <span class="w-3 h-3 rounded-full bg-red-500"></span>
                        <span class="w-3 h-3 rounded-full bg-yellow-500"></span>
                        <span class="w-3 h-3 rounded-full bg-green-500"></span>
                    </div>
                    <span class="text-sm font-mono">1. 添加依赖</span>
                </div>
                <div class="p-4 code-block">
                    <pre class="text-gray-100 text-sm overflow-x-auto"><code>&lt;!-- MyBatis-Flex核心依赖 --&gt;
&lt;dependency&gt;
    &lt;groupId&gt;com.mybatis-flex&lt;/groupId&gt;
    &lt;artifactId&gt;mybatis-flex-spring-boot-starter&lt;/artifactId&gt;
    &lt;version&gt;1.7.5&lt;/version&gt;
&lt;/dependency&gt;
&lt;!-- 数据库驱动，以MySQL为例 --&gt;
&lt;dependency&gt;
    &lt;groupId&gt;mysql&lt;/groupId&gt;
    &lt;artifactId&gt;mysql-connector-java&lt;/artifactId&gt;
    &lt;version&gt;8.0.33&lt;/version&gt;
&lt;/dependency&gt;
&lt;!-- 可选：代码生成工具 --&gt;
&lt;dependency&gt;
    &lt;groupId&gt;com.mybatis-flex&lt;/groupId&gt;
    &lt;artifactId&gt;mybatis-flex-codegen&lt;/artifactId&gt;
    &lt;version&gt;1.7.5&lt;/version&gt;
    &lt;scope&gt;provided&lt;/scope&gt;
&lt;/dependency&gt;</code></pre>
                </div>
            </div>
            
            <div class="grid grid-cols-1 md:grid-cols-2 gap-8">
                <div class="bg-white rounded-xl overflow-hidden shadow-md">
                    <div class="bg-gray-800 text-white px-4 py-3 flex items-center">
                        <div class="flex space-x-2 mr-4">
                            <span class="w-3 h-3 rounded-full bg-red-500"></span>
                            <span class="w-3 h-3 rounded-full bg-yellow-500"></span>
                            <span class="w-3 h-3 rounded-full bg-green-500"></span>
                        </div>
                        <span class="text-sm font-mono">2. 配置数据源</span>
                    </div>
                    <div class="p-4 code-block">
                        <pre class="text-gray-100 text-sm overflow-x-auto"><code>spring:
  datasource:
    url: jdbc:mysql://localhost:3306/your_database?useSSL=false&amp;serverTimezone=Asia/Shanghai
    username: root
    password: yourpassword
    driver-class-name: com.mysql.cj.jdbc.Driver

mybatis-flex:
  configuration:
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # 开启SQL日志
  mapper-locations: classpath:mapper/*.xml # 可选，XML文件位置
  type-aliases-package: com.yourpackage.entity # 实体类包路径</code></pre>
                    </div>
                </div>
                
                <div class="bg-white rounded-xl overflow-hidden shadow-md">
                    <div class="bg-gray-800 text-white px-4 py-3 flex items-center">
                        <div class="flex space-x-2 mr-4">
                            <span class="w-3 h-3 rounded-full bg-red-500"></span>
                            <span class="w-3 h-3 rounded-full bg-yellow-500"></span>
                            <span class="w-3 h-3 rounded-full bg-green-500"></span>
                        </div>
                        <span class="text-sm font-mono">3. 创建实体类</span>
                    </div>
                    <div class="p-4 code-block">
                        <pre class="text-gray-100 text-sm overflow-x-auto"><code>@Table("tb_user") // 指定表名
public class User {
    
    @Id(keyType = KeyType.AUTO) // 自增主键
    private Long id;
    
    private String username;
    private String email;
    private Integer age;
    
    // getter和setter方法
    // ...
}</code></pre>
                    </div>
                </div>
            </div>
        </section>

        <!-- Architecture Diagram -->
        <section class="mb-20">
            <div class="text-center mb-12">
                <h2 class="text-3xl font-bold mb-4 text-gray-800">
                    <span class="highlight">架构设计</span>
                </h2>
                <p class="text-lg text-gray-600 max-w-2xl mx-auto">
                    MyBatis-Flex在传统MyBatis架构上的创新设计
                </p>
            </div>
            
            <div class="bg-white p-6 rounded-xl shadow-md">
                <div class="mermaid">
                    graph TD
                        A[Application] -->|调用| B[Service]
                        B -->|依赖| C[Mapper]
                        C -->|继承| D[BaseMapper]
                        D -->|基于| E[MyBatis-Flex核心]
                        E -->|增强| F[原生MyBatis]
                        F -->|操作| G[数据库]
                        
                        style A fill:#f0f9ff,stroke:#38b2ac
                        style B fill:#f0fdf4,stroke:#10b981
                        style C fill:#f8fafc,stroke:#64748b
                        style D fill:#eff6ff,stroke:#3b82f6
                        style E fill:#eef2ff,stroke:#6366f1
                        style F fill:#f5f3ff,stroke:#8b5cf6
                        style G fill:#ecfdf5,stroke:#10b981
                </div>
            </div>
        </section>

        <!-- Call to Action -->
        <section class="bg-blue-50 rounded-xl p-12 text-center">
            <h2 class="text-3xl font-bold mb-4 text-gray-800">准备好提升您的开发效率了吗？</h2>
            <p class="text-xl text-gray-600 mb-8 max-w-2xl mx-auto">
                MyBatis-Flex完全开源免费，基于Apache 2.0许可证，无任何商业限制
            </p>
            <div class="flex justify-center space-x-4">
                <a href="https://mybatis-flex.com" target="_blank" class="bg-blue-600 hover:bg-blue-700 text-white font-semibold px-6 py-3 rounded-lg shadow-md transition duration-300">
                    <i class="fas fa-book mr-2"></i>查看文档
                </a>
                <a href="https://github.com/mybatis-flex/mybatis-flex" target="_blank" class="bg-gray-800 hover:bg-gray-900 text-white font-semibold px-6 py-3 rounded-lg shadow-md transition duration-300">
                    <i class="fab fa-github mr-2"></i>GitHub仓库
                </a>
            </div>
        </section>
    </div>

    <script>
        mermaid.initialize({
            startOnLoad: true,
            theme: 'default',
            flowchart: {
                useMaxWidth: true,
                htmlLabels: true,
                curve: 'basis'
            }
        });
        
        // 平滑滚动
        document.querySelectorAll('a[href^="#"]').forEach(anchor => {
            anchor.addEventListener('click', function (e) {
                e.preventDefault();
                document.querySelector(this.getAttribute('href')).scrollIntoView({
                    behavior: 'smooth'
                });
            });
        });
        
        // 微交互：卡片悬停效果
        document.querySelectorAll('.feature-card').forEach(card => {
            card.addEventListener('mouseenter', () => {
                card.style.transition = 'all 0.3s ease';
            });
        });
    </script>
</body>
</html>
```